import Qt 4.7


Rectangle {
    width: 2000
    height: 2000
    id: app


    property real scaleFactor : 0.6
    Timer {
	id: levelTimer
	interval: 1000

	repeat: true
	onTriggered: {
	    gameScene.decTime()

	}
	running: true
    }


    GameScene {
	id: gameScene
	anchors.fill: parent

        onPause: {
            pauseMenu.visible = true
        }
    }

    Timer {
	id: ftimer
	repeat: true
	interval: 16
	onTriggered: {
	    gameScene.doFrame()
	}
	running: true

    }




    PauseMenu {
        id: pauseMenu
        anchors.fill: parent
        visible: false
    }


}
